package com.surprise.bweb.bo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * GetUserResponse.java
 * 
 * @author nick
 * @since 2015年7月20日
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class GetUserResponse extends CommonRes {
    private Result data;

    @Data
    @Accessors(chain = true)
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Result {
        private Long id;
        private String username;
        private String role;
        private Object detail;
    }
}
